@import "@/uni.scss";
/* 高德地图 */
.amap-logo,
.amap-copyright {
	display: none !important;
}

/* 隐藏 scroll-view 的滚动条 */
.scrollbar-none::-webkit-scrollbar,
.scrollbar-none .uni-scroll-view ::-webkit-scrollbar {
	display: none;
	width: 0 !important;
	height: 0 !important;
	-webkit-appearance: none;
	background: transparent;
}
.loading {
	&.van-loading {
		justify-content: center;
		height: 100%;
	}
	image {
		width: 90rpx;
		height: 50rpx;
	}
}

/* uni-app 相关 */
uni-toast {
	z-index: 1000000;
}
.input-right {
	.uni-input-placeholder,
	.uni-input-input {
		text-align: right;
	}
}

page {
	background-color: $uni-bg-color-grey;
	height: 100vh;
}
body,
page {
	// overflow: hidden;
}

// 公共样式
.greyColor {
	color: $uni-text-color-placeholder;
}
.tab-bar-page {
	height: calc(100% - var(--window-bottom)) !important;
}
.tips{
	color: #ee0a24;
	font-size: 12px;
}

// element plus相关
.form-item-no-flex {
	display: block !important;
}
.el-form-content-right {
	.el-form-item__content {
		justify-content: flex-end;
	}
}
.margin-bottom-none {
	margin-bottom: 0 !important;
}
.margin-left-none {
	.el-form-item__content {
		margin-left: 0 !important;
	}
}

// vant相关
.van-tab-noborder {
	.van-tab {
		font-size: 28rpx;
		font-weight: bold;
	}
	.van-tabs__line {
		display: none;
	}
	.van-tab--active {
		font-size: inherit;
		color: $uni-color-primary;
	}
}

.van-step--vertical:not(:last-child):after {
	border: none !important;
}
.van-steps {
	background-color: $uni-bg-color-grey !important;
	overflow: visible !important;
}

.disabled-text {
	color: var(--van-field-disabled-text-color);
}
.text-left {
	.van-cell__value {
		text-align: left !important;
		color: var(--van-text-color);
	}
}

.disabled-form {
	.van-field--disabled .van-field__label {
		color: var(--van-field-label-color);
	}
}
.calendar-box {
	.appointments-are-full {
		border: 1rpx solid #ee0a24;
		box-sizing: border-box;
		border-radius: 10rpx;
		.van-calendar__bottom-info {
			color: #ee0a24;
			font-size: 24rpx;
			margin-top: 6rpx;
		}
	}
	.appointments-are-no {
		background-color: #d7d7d7;
		border: 1rpx solid #fff;
		box-sizing: border-box;
		border-radius: 10rpx;
		color: #fff;
		.van-calendar__bottom-info {
			color: #fff;
			font-size: 24rpx;
			margin-top: 6rpx;
		}
	}
	.van-calendar__selected-day {
		width: 100%;
		height: 100%;
	}
}
.text-left-cell {
	.van-cell__value {
		text-align: left;
	}
}
